import request from '@/utils/request'

export default {
    //分页查询讲师的方法
    getTeacherPageList(page,limit) {
        return request({
            url: `/eduservice/teacherfront/getTeacherPageList/${page}/${limit}`,
            method: 'get'
        })
    },

    //根据讲师id获取讲师详细信息和讲师所讲课程
    getTeacherFrontInfo(id) {
        return request({
            url: `/eduservice/teacherfront/getTeacherFrontInfo/${id}`,
            method: 'get'
        })
    }

}